<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript">
        function close2(){
            parent.layer.close(parent.layer.getFrameIndex(window.name));
        }
    </script>

</head>
<body>
<form action="PersonalServlet" target="a">
    <input type="hidden" name="method" value="update">
    <input type="hidden" name="mid" value="${requestScope.personals.mid}">
    名字 <input type="text" name="realname" value="${requestScope.personals.realname}"><br><br>
    性别 <input type="radio" name="sex" value="男"   <c:if test="${requestScope.personals.sex=='男'}">checked</c:if>>男
        <input type="radio" name="sex" value="女"    <c:if test="${requestScope.personals.sex=='女'}">checked</c:if>> 女<br><br>
    城市 <input type="text" name="city" value="${requestScope.personals.city}"><br><br>
    身份证号 <input type="text" name="number" value="${requestScope.personals.number}"><br><br>
    电话 <input type="text" name="telephone" value="${requestScope.personals.telephone}"><br><br>
    email <input type="text" name="email" value="${requestScope.personals.email}"><br><br>
    <input type="submit" onclick="close2()" value="确认修改">
</form>
<iframe name="a" style="display: none"></iframe>
</body>
</html>
